package stool.command;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/13
 */
public class Main {

    public static void main(String[] args) {

        Barbecuer barbecuer = new Barbecuer();
        Command command1 = new BakeChickenWingCommand(barbecuer);
        Command command2 = new BakeMuttonCommand(barbecuer);

        Waiter waiter = new Waiter();
        waiter.setOrder(command1);
        waiter.setOrder(command2);
        waiter.notifyExecute();
    }
}
